package com.feng.dto;

import com.feng.entity.Product;
import lombok.Data;

import java.util.List;

/**
 * @author: 丰
 * @date: 2022/12/14 15:32
 */
@Data
public class CategoryDto {
    private Integer id;
    private String createTime;
    private String updateTime;
    private Integer enable;

    private String name;
    private List<Product> products;      // 一个分类中存在多个产品

}
